Sunan at-Tirmithiy كتاب القدر باب ما جاء أن الله كتب كتابا لأهل الجنة وأهل النار
The Messenger of God, peace and blessings of God be upon him said, “When God wills for His bondsman (1) goodness, He uses him". He was asked, "And how does He use him, Messenger of God". He replied, "He guides him to do righteous work before dying." 1)Masculine pronouns are generally used in Arabic as a means for referring to both men and women when the meaning is left general and is not otherwise specified Click on ḥadīth to read more